<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div class="col-md-3 left_col" th:fragment="sidebar">
<div class="left_col scroll-view" >
    <div class="navbar nav_title" style="border: 0;">
        <a class="site_title"><i class="fa fa-university"></i> <span style="font-size: 14px">软件工程试卷智能生成系统</span></a>
    </div>
    <div class="clearfix"></div>
    <!-- menu profile quick info -->
    <div class="profile clearfix">
        <div class="profile_pic">
            <img th:src="@{/images/img.jpg}" alt="..." class="img-circle profile_img">
        </div>
        <div class="profile_info">
            <span>欢迎,</span>
            <h2><span th:text="${session.userName}"></span></h2>
        </div>
    </div>
    <!-- /menu profile quick info -->
    <br />
    <!-- sidebar menu -->
    <div id="sidebar-menu" class="main_menu_side hidden-print main_menu" >
        <div class="menu_section">
            <h3>功能列表</h3>
            <ul class="nav side-menu">
                <li><a><i class="fa fa-edit"></i> 试题库 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a th:href="@{/question/upload}">试题上传</a></li>
                        <li><a href="/question/manage?section=null&&type=null&&level=null">试题库</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-desktop"></i> 考卷库 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a th:href="@{/exam/manual-generator}">人工组卷</a></li>
                        <li><a th:href="@{/auto-generator}">自动组卷</a></li>
                        <li><a th:href="@{/exam/manager}">试卷库</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <!-- /sidebar menu -->
    <!-- /menu footer buttons -->
    <div class="sidebar-footer hidden-small" >
        <a data-toggle="tooltip" data-placement="top" title="Settings">
            <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="FullScreen">
            <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="Lock">
            <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">
            <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
        </a>
    </div>
</div>
</div>
</html>